package com.example.service.Impl;

import com.example.dao.AlarmConfigDao;
import com.example.entity.AlarmConfig;
import com.example.service.AlarmConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AlarmConfigServiceImpl implements AlarmConfigService {

    @Autowired
    private AlarmConfigDao alarmConfigDao;

    @Override
    public List<AlarmConfig> query(AlarmConfig alarmConfig) throws Exception {
        return alarmConfigDao.query(alarmConfig);
    }

}
